package io.adrainty.bolee.security.models.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.adrainty.bolee.framework.commons.basic.BaseBO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;

/**
 * <p>UserRoleBO</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description 用户角色
 * @since 2025/8/7 13:27:26
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("tab_user_role")
@Schema(description = "用户角色")
public class UserRoleBO extends BaseBO {

    @Serial
    private static final long serialVersionUID = -5048873815461290530L;

    @Schema(description = "用户编号")
    private Long userId;

    @Schema(description = "角色编号")
    private Long roleId;

    @Schema(description = "所属公司编号")
    private String companyNo;

}
